package top.superflow.flow.runtime.inf

import scala.collection.mutable

trait GeneralRequest {

  protected var requestBody : Any = _

  def getRequestBody = requestBody

  def setRequestBody(b : Any) = requestBody = b


  protected var parameters : mutable.Map[String, Any] = mutable.Map.empty

  def getParameters = parameters.toMap

  def getParameter(paramName : String) = parameters.get(paramName)
}
